﻿#ifndef URC2ENCRYPT_H
#define URC2ENCRYPT_H

#include "../utkcore_global.h"

#include <QByteArray>

class UTKCORE_EXPORT URC2Encrypt
{
public:
    URC2Encrypt();
    ~URC2Encrypt();

    QByteArray decrypt(QByteArray cyphertext, const unsigned char* key, const unsigned char* iv);

    QByteArray encrypt(QByteArray plaintext, const unsigned char* key, const unsigned char* iv);

    QString GetLastError();
};

#endif // URC2ENCRYPT_H



